package com.zhouzhou.fastjava.query;

public class QuerySortor {
    /**
     * 根据该字段排序
     */
    private String property;
    /**
     * 倒序 还是 正序
     */
    private OrderByDirection direction;

    public QuerySortor() {
    }

    public QuerySortor(String property, OrderByDirection direction) {
        super();
        this.property = property;
        this.direction = direction;
    }

    public String getProperty() {
        return property;
    }

    public OrderByDirection getDirection() {
        return direction;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public void setDirection(OrderByDirection direction) {
        this.direction = direction;
    }

}
